package cn.lili.modules.system.entity.dos;

import java.math.BigDecimal;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 会员配置表
 * </p>
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("li_vip_config")
@ApiModel(value="LiVipConfig", description="会员配置表")
public class LiVipConfig  extends BaseStandardEntity implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "会员名称")
    @TableField("vip_name")
    private String vipName;

    @ApiModelProperty(value = "会员价格")
    @TableField("vip_price")
    private BigDecimal vipPrice;

    @ApiModelProperty(value = "会员详情")
    @TableField("vip_detail")
    private String vipDetail;

    @ApiModelProperty(value = "会员数量")
    @TableField("vip_count")
    private Integer vipCount;

    @ApiModelProperty(value = "支付方式，多个已逗号分开。字典：pay_way")
    @TableField("pay_way")
    private String payWay;

    @ApiModelProperty(value = "字典：default_time")
    @TableField("default_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Integer defaultTime;

    @ApiModelProperty(value = "是否默认（只允许存在一个默认）1默认，0非默认")
    @TableField("is_default")
    private Integer isDefault;


}